home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 16
/
Aminet 16 (1996)(GTI - Schatztruhe)[!][Dec 1996].iso
/
Aminet
/
util
/
libs
/
shutdown.readme
< prev
Wrap
Text File
|
1996-11-04
|
4KB
|
78 lines
Short: Shutdown command
Author: fasten@shw.com (Bernhard Fastenrath)
Uploader: fasten@shw.com (Bernhard Fastenrath)
Version: 4.1
Type: util/libs
Changes since 4.0:
- Applications can delay the shutdown now (see src/delay.c).
Changes since 3.0:
- unmount.c rewritten to send ACTION_INHIBIT to all filesystems at the
same time (instead of sequentially).
- compiled with SAS/C instead of GCC (which makes it a bit smaller).
The Amiga's lack of a shutdown mechanism is probably based on the assumption
that the user is always the direct cause of disk access or at least aware of
the fact that the disks might be accessed at a certain point.
Unfortunately this is obviously not true for BBS systems or Amigas connected
to a LAN or in some other way running in a multiuser environment. It is also
not true for Amigas acting as servers or Amigas doing longer calculations
(e.g. rendering) in the absence of a console user. There's also still the
small chance that the user thinks the disks are idle and it's safe to turn of
the system and a background program chooses this moment to start disk activity.
ResetHandler (AmiNet://util/cdity/ResetHandler.lha) executes
s:shutdown-sequence after a keyboard reset. If you want to call shutdown
from s:shutdown-sequence make sure to use the "-i" option to shut down
as fast as possible.
This shutdown command requires queue.library (which is included). The full
archive is AmiNet:util/libs/queue.lzh. It can be used with but does not
require shutdown.library (AmiNet:util/boot/Shutdown2_0.lha). The original
shutdown.library was written by Olaf Barthel (olsen@sourcery.han.de).
A small library which is compatible with Olaf's shutdown.library is included.
This is not an update to the original shutdown.library but a full update
might follow.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
0 0 0.0% 30-Oct-96 17:10:12 +
0 0 0.0% 30-Oct-96 16:42:36 +
9496 5991 36.9% 30-Oct-96 15:24:26 +sdwarn
12244 7486 38.8% 30-Oct-96 15:24:32 +shutdown
0 0 0.0% 30-Oct-96 16:42:36 +
1069 330 69.1% 13-Jan-96 22:20:36 +REGISTRATION
29007 10737 62.9% 30-Oct-96 15:31:46 +shutdown.guide
0 0 0.0% 30-Oct-96 16:42:36 +
2640 1513 42.6% 10-Oct-96 14:13:40 +queue.library
1440 903 37.2% 22-Sep-96 13:30:12 +shutdown.library
1795 925 48.4% 30-Oct-96 17:08:40 +shutdown.readme
0 0 0.0% 30-Oct-96 16:42:38 +
1748 731 58.1% 30-Oct-96 15:20:40 +delay.c
344 180 47.6% 13-Jan-96 22:20:34 +makefile
0 0 0.0% 30-Oct-96 16:42:38 +
403 263 34.7% 22-Sep-96 13:00:26 +queue.fd
794 430 45.8% 13-Jan-96 22:20:34 +queue.h
3083 620 79.8% 13-Jan-96 22:20:34 +queue_inline.h
541 262 51.5% 10-Oct-96 17:36:00 +queue_pragmas.h
2231 951 57.3% 13-Jan-96 22:20:32 +shutdown.h
6315 2197 65.2% 10-Oct-96 18:07:02 +sdwarn.c
12986 3951 69.5% 30-Oct-96 15:14:02 +shutdown.c
935 401 57.1% 10-Oct-96 17:31:16 +shutdown_cmd.h
0 0 0.0% 30-Oct-96 16:42:38 +
429 254 40.7% 22-Sep-96 13:35:42 +makefile
1767 528 70.1% 13-Jan-96 22:20:34 +shutdown_inline.h
176 129 26.7% 13-Jan-96 22:20:34 +shutdown_lib.fd
4543 1634 64.0% 22-Sep-96 13:50:06 +shutdown_library.c
338 163 51.7% 13-Jan-96 22:20:34 +shutdown_library.h
210 110 47.6% 22-Sep-96 13:06:12 +shutdown_pragma.h
412 192 53.3% 13-Jan-96 22:20:34 +shutdownbase.h
371 208 43.9% 22-Sep-96 13:10:50 +smakefile
381 202 46.9% 10-Oct-96 17:57:36 +smakefile
4500 1503 66.6% 11-Oct-96 02:58:26 +unmount.c
-------- ------- ----- --------- --------
100198 42794 57.2% 31-Oct-96 13:55:52 34 files